package com.love.marriage.userChatInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户聊天记录表类
 * author:       mybatisPlus
 * createDate: 2024-10-20 01:13:08
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_chat_info_t")
@Schema(description = "用户聊天记录表")
public class UserChatInfo extends BaseEntity<UserChatInfo>{

    @Schema(description = "聊天用户ID", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "聊天消息数量", type = "Integer", implementation = Integer.class)
    @TableField("chat_count")
    private Integer chatCount;

    @Schema(description = "类型", type = "Integer", implementation = Integer.class)
    @TableField("type")
    private String type;
}
